package com.mlk.core.component;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class LayEditAdapt {

    @Data
    @Builder
    public static class InnerLayEditAdapt{

        private String src;

        private String  title = "";
    }

    /*{
        "code": 0 //0表示成功，其它失败
            ,"msg": "" //提示信息 //一般上传失败后返回
            ,"data": {
        "src": "图片路径"
                ,"title": "图片名称" //可选
    }
    }*/

    private Integer code = 0;

    private String msg = "";

    private InnerLayEditAdapt data;
}
